﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace YangtzeFilterTestSystem
{
    public partial class FlowrateRevisionForm : Form
    {
        public FlowrateRevisionForm()
        {
            InitializeComponent();

            FlowrateRevisionTBox.Text = GlobalVariables.FlowrateRevision.ToString("N0");
        }

        private void CancelBtn_Click(object sender, EventArgs e)
        {
            Close();
        }

        private void OKBtn_Click(object sender, EventArgs e)
        {
            GlobalVariables.FlowrateRevision = Convert.ToDouble(FlowrateRevisionTBox.Text);
            Close();
        }
    }
}
